package com.ph.shopping.facade.mapper;

import java.util.Map;

import com.ph.shopping.common.core.base.BaseMapper;
import com.ph.shopping.facade.member.entity.SmsCodeSendinfo;

public interface SmsCodeMapper extends BaseMapper<SmsCodeSendinfo>{

	/**
	 * 
	* @Title: insertSmsCodeInfo  
	* @Description: 新增短信信息  
	* @param @param smsCodeInfo    参数  
	* @return void    返回类型  
	* @throws
	 */
	int insertSmsCodeInfo(SmsCodeSendinfo smsCodeInfo);

	/**
	 * 
	* @Title: selectSmsCodeInfoByMonile  
	* @Description: 根据手机号查询短信信息)  
	* @param @param mobile
	* @param @return    参数  
	* @return List<SmsCodeSendinfo>    返回类型  
	* @throws
	 */
	SmsCodeSendinfo selectSmsCodeInfoByMonile(String mobile);

	/**
	 * 修改短信数据
	 */
	int updateByPrimaryKeySelective(SmsCodeSendinfo smsCodeInfo);
	/**
	 * 
	 * @Title: selectSmsCodeInfo   
	 * @Description: 查询短信信息   
	 * @param: @param map
	 * @param: @return      
	 * @return: SmsCodeSendinfo      
	 * @throws
	 */
	SmsCodeSendinfo selectSmsCodeInfo(Map<String, Object> map);
	/**
	 * 
	 * @Title: updateSmsCodeInfo   
	 * @Description: 修改短信信息   
	 * @param: @param updateInfo      
	 * @return: void      
	 * @throws
	 */
	void updateSmsCodeInfo(SmsCodeSendinfo updateInfo);
}
